<?php 
$id = $_GET['id'];
require 'Factory.class.php';
require 'TeamModel.class.php';
// $t =new TeamModel();
$t =Factory::M('team');

$team = $t->findTeam($id);
$playersCount = $t->playerCount($id);
$players = $t->getPlayers($id);
// var_dump($players);

require 'team_v.html'; 
 ?>

